imports:
- { resource: ./../config/framework.yml }

security:
    password_hashers:
        Symfony\Component\Security\Core\User\InMemoryUser: plaintext

    providers:
        in_memory:
            memory:
                users:
                    johannes: { password: test, roles: [ROLE_USER] }

    firewalls:
        default:
            form_login:
                check_path: login
                remember_me: true
            logout:
                delete_cookies:
                    flavor: { path: null, domain: somedomain }
            stateless: true

    access_control:
        - { path: ^/login$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: .*, roles: IS_AUTHENTICATED_FULLY }
